Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.platform.birt.reporting.contentView--contentViews

This contribution is part of XML component org.nuxeo.platform.birt.reporting.contentView inside nuxeo-birt-reporting-web-6.0.jar

Extension Point

Extension point contentViews of component ContentViewService.

Contributed Items

  • <contentView name="birt_report_models">
    
          <title>label.contentview.birt_report_model_list</title>
          <translateTitle>true</translateTitle>
          <showTitle>true</showTitle>
    
          <coreQueryPageProvider>
            <property name="coreSession">#{documentManager}</property>
            <pattern>
              SELECT * FROM Document WHERE ecm:path STARTSWITH ?
              AND ecm:currentLifeCycleState != 'deleted'
            </pattern>
            <parameter>#{reportActions.reportModelsContainerPath}</parameter>
            <sort ascending="true" column="dc:title"/>
            <pageSize>20</pageSize>
          </coreQueryPageProvider>
    
          <showPageSizeSelector>true</showPageSizeSelector>
          <useGlobalPageSize>true</useGlobalPageSize>
          <refresh>
            <event>documentChildrenChanged</event>
          </refresh>
          <cacheKey>#{reportActions.reportModelsContainerPath}</cacheKey>
          <cacheSize>10</cacheSize>
    
          <resultLayouts>
            <layout iconPath="/icons/document_listing_icon.png" name="document_listing_table" showCSVExport="true" showEditColumns="true" showSpreadsheet="true" title="document_listing" translateTitle="true"/>
          </resultLayouts>
    
          <selectionList>CURRENT_SELECTION</selectionList>
          <actions category="CURRENT_SELECTION_REPORTS_LIST"/>
        </contentView>

XML Source

<extension point="contentViews" target="org.nuxeo.ecm.platform.ui.web.ContentViewService">

    <contentView name="birt_report_models">

      <title>label.contentview.birt_report_model_list</title>
      <translateTitle>true</translateTitle>
      <showTitle>true</showTitle>

      <coreQueryPageProvider>
        <property name="coreSession">#{documentManager}</property>
        <pattern>
          SELECT * FROM Document WHERE ecm:path STARTSWITH ?
          AND ecm:currentLifeCycleState != 'deleted'
        </pattern>
        <parameter>#{reportActions.reportModelsContainerPath}</parameter>
        <sort ascending="true" column="dc:title"/>
        <pageSize>20</pageSize>
      </coreQueryPageProvider>

      <showPageSizeSelector>true</showPageSizeSelector>
      <useGlobalPageSize>true</useGlobalPageSize>
      <refresh>
        <event>documentChildrenChanged</event>
      </refresh>
      <cacheKey>#{reportActions.reportModelsContainerPath}</cacheKey>
      <cacheSize>10</cacheSize>

      <resultLayouts>
        <layout iconPath="/icons/document_listing_icon.png" name="document_listing_table" showCSVExport="true" showEditColumns="true" showSpreadsheet="true" title="document_listing" translateTitle="true"/>
      </resultLayouts>

      <selectionList>CURRENT_SELECTION</selectionList>
      <actions category="CURRENT_SELECTION_REPORTS_LIST"/>
    </contentView>
  </extension>